﻿namespace HB.WorkFlow
{
    /// <summary>
    /// 步骤body
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class StepBody<T> where T : class
    {
        public string Id { get; internal set; }
        /// <summary>
        /// 步骤执行体
        /// </summary>
        public IStep<T> Step { get; set; }
        /// <summary>
        /// 执行后路由
        /// </summary>
        public StepRouter<T> Router { get; set; } = new StepRouter<T>();
    }
}
